package org.idea.qiyu.threadpool.demo.asynchandle;

/**
 * @Author linhao
 * @Date created in 10:08 上午 2021/10/17
 */
public interface AsyncHandlerService {

    /**
     * 任务放入队列中
     * 
     * @param asyncHandlerData
     */
    boolean putTask(AsyncHandlerData asyncHandlerData);

    /**
     * 启动消费
     */
    void startJob();
}
